package io.flash.rpc.demo;

public class DemoClient {
    public static void main(String[] args) throws Exception{
        HelloService helloService = ServiceFactory.getService(HelloService.class);

        for (int i = 0; i < 100; i++) {
            System.out.println(helloService.hello(new HelloRequest("张三" + i)));
            Thread.sleep(1000);
        }
    }
}
